home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ray Dream Studio
/
Ray Dream Studio (CDRAYD1) (Ray Dream) (1995).iso
/
DREAMSDK.WIN
/
INCLUDE
/
PATCH2F.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-05
|
575b
|
24 lines
/* $Id: PATCH2F.H 1.5 1995/09/29 18:33:31 YannPC Exp $ */
#ifndef __PATCH2F__
#define __PATCH2F__
// Bicubic Patch to facets routine
struct FACET3D;
struct PATCH3D;
typedef void (*ForEachFacetCallBack)(FACET3D* facet, void* priv);
// Constants for the error parameter. The smaller the error value, the more facets will be generated
#define kManyFacetsError 0x2BC
#define kStandardFacetsError 0x1000
#define kFewfacetsError 0x2000
void ConvertPatch2Facets(const PATCH3D& patch, long error, ForEachFacetCallBack callback, void* priv);
#endif